// --------------------------------------------------------------------------
// Requirement : PHP4 (http://www.php.net)
//
// Copyright(C), PHPCMS򿪷(BY HonestQiao), 2005, All Rights Reserved.
// Phpcms Siteurl: http://www.phpcms.cn
//
// --------------------------------------------------------------------------

Ͻӿ

phpcms 2.4
discuz 2.5


phpcms  discuz 2.5 ˵

1. ֱװphpcmsdiscuz 2.5

2. ̳ѾкܶԱôphpcms̨ⲿݵ룬޸discuz 2.5ĻԱݵãȻdiscuz 2.5Ա      phpcms̳Ҳ°װģôһ

3. phpcms̨̳ã˵ã̳ӿڵַڣhttp://www.phpcms.cn/bbs/api/passport.php

4.  api/passport.config.php ˵޸ Կ  phpcmsַ

5. δdiscuz25е ./include/common.php  ./templates/default/header.htm  ./templates/default/memcp_profile.htm ޸ģ
   ôϴdiscuz25µļԭļ

    ǰЩļĶô˵޸ģȻϴԭģ
    Ƕ3ļֱ޸ģ

    1 ./include/common.php ڶм   require DISCUZ_ROOT.'./api/passport.config.php';  // phpcms  discuz 2.5 ֤ͨļ
    2ֱ޸./templates/default/header.htm е 
         עӵַΪ member.php?action=reg
         ¼ӵַΪ member.php?action=login
         ˳ӵַΪ member.php?action=logout
    3޸ ./templates/default/memcp_profile.htm е޸Ĳ֣޸

<tr>
<td bgcolor="{ALTBG1}">{lang old_password}:</td>
<td bgcolor="{ALTBG2}"><input type="password" name="oldpassword" size="25">&nbsp;{lang memcp_profile_old_passwd_comment}</td>
</tr>
<tr>
<td bgcolor="{ALTBG1}"></td>
<td bgcolor="{ALTBG2}"></td>
</tr>

<tr>
<td bgcolor="{ALTBG1}">{lang new_password}:</td>
<td bgcolor="{ALTBG2}"><input type="password" name="newpassword" size="25"> {lang memcp_profile_passwd_comment}</td>
</tr>


Ϊ


{if !$passport_enabled}
<tr>
<td bgcolor="{ALTBG1}">{lang old_password}:</td>
<td bgcolor="{ALTBG2}"><input type="password" name="oldpassword" size="25">&nbsp;{lang memcp_profile_old_passwd_comment}</td>
</tr>
<tr>
<td bgcolor="{ALTBG1}"></td>
<td bgcolor="{ALTBG2}"></td>
</tr>

<tr>
<td bgcolor="{ALTBG1}">{lang new_password}:</td>
<td bgcolor="{ALTBG2}"><input type="password" name="newpassword" size="25"> {lang memcp_profile_passwd_comment}</td>
</tr>
{/if}
